package com.ukao.cashregister.bean;

import com.ukao.cashregister.consts.GlobalConsts;

/**
 * Created by ukaodev on 2017/6/8.
 */

public class WashClothing {
    Byte check;

    public WashClothing(Byte check) {
        this.check = check;
    }

    public Boolean isCheck() {
        return check.equals(GlobalConsts.ENABLE);
    }

    public void setCheck(Boolean check) {
        this.check = check?GlobalConsts.ENABLE:GlobalConsts.DISABLE;
    }
}
